import request from '@/utils/request'
// -----------档案管理--站点档案------------
// 列表数据
export function siteFileList(data) {
  return request({
    url: '/enterprise/station/list',
    method: 'post',
    data
  })
}

// 新增站点档案
export function addFile(data) {
  return request({
    url: '/enterprise/station/create',
    method: 'post',
    data
  })
}
// 站点档案详情
export function details(data) {
  return request({
    url: '/enterprise/station/detail',
    method: 'post',
    data
  })
}
// 站点档案删除  /enterprise/station/update
export function delelectric(data) {
  return request({
    url: '/enterprise/station/delete',
    method: 'post',
    data
  })
}
// 站点档案编辑
export function updateelectric(data) {
  return request({
    url: '/enterprise/station/update',
    method: 'post',
    data
  })
}
// 用电性质
export function electricPropety(data) {
  return request({
    url: '/common/electricPropety/allList',
    method: 'post',
    data
  })
}
// 站点类别
export function stationCates(data) {
  return request({
    url: '/common/stationCate/cateList',
    method: 'post',
    data
  })
}
// 电价方案
export function electricScheme(data) {
  return request({
    url: '/enterprise/electricScheme/allList',
    method: 'post',
    data
  })
}

